home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 2.3 KB | 114 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _LINKSRCB_
- #define _LINKSRCB_
-
- #ifndef _PSTOBJ_
- #include "PstObj.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODBaseLinkSource;
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface ODStorageUnit;
- interface ODPart;
- interface ODPartList;
- interface ODLink;
- interface ODDraft;
- interface ODFacet;
-
-
- //==============================================================================
- // ODBaseLinkSource
- //==============================================================================
-
- interface ODBaseLinkSource : ODPersistentObject
- {
- ODBoolean Lock(in ODULong wait,
- out ODLinkKey key);
-
- void Unlock(in ODLinkKey key);
-
- void Clear(in ODUpdateID id, in ODLinkKey key);
-
- ODStorageUnit GetContentStorageUnit(in ODLinkKey key);
-
- void ContentUpdated(in ODUpdateID id, in ODLinkKey key);
-
- #ifdef _PLATFORM_MACINTOSH_
-
- ODBoolean ShowLinkSourceInfo(
- in ODFacet facet,
- in ODUpdateID change,
- in ODBoolean changesAllowed,
- out ODLinkInfoResult infoResult);
-
- #endif //# _PLATFORM_MACINTOSH_
-
- //#---------------------------------
- //# Getters
-
- ODUpdateID GetUpdateID();
- ODTime GetChangeTime();
- ODBoolean IsAutoUpdate();
-
- //#---------------------------------
- //# Setters
-
- void SetAutoUpdate(in ODBoolean automatic);
- void SetSourcePart(in ODStorageUnit sourcePartSU);
-
-
- #ifdef __SOMIDL__
- #ifdef _PLATFORM_MACINTOSH_
- implementation
- {
- majorversion = 1; minorversion = 0;
-
- functionprefix = ODBaseLinkSource;
-
- override:
- somInit,
- somUninit,
- Externalize,
- ReleaseAll,
- CloneInto;
-
- releaseorder:
- Lock,
- Unlock,
- Clear,
- GetContentStorageUnit,
- ContentUpdated,
- GetUpdateID,
- SetAutoUpdate,
- IsAutoUpdate,
- SetSourcePart,
- GetChangeTime,
- ShowLinkSourceInfo,
- reserved1,
- reserved2,
- reserved3,
- reserved4,
- reserved5,
- reserved6,
- reserved7,
- reserved8,
- reserved9,
- reserved10,
- reserved11;
-
- };
- #endif //# _PLATFORM_MACINTOSH_
- #endif //# __SOMIDL__
- };
-
- #endif //# _LINKSRCB_
-